package iotwisp.school.user.qo;

import iotwisp.base.orm.query.QueryCondition;
import iotwisp.base.orm.query.QueryConditionType;
import iotwisp.base.orm.query.QueryConfig;
import iotwisp.base.tree.TreeDataBaseQO;
import lombok.Data;
import lombok.EqualsAndHashCode;

@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
@QueryConfig(daoBeanId = "permissionService")
public class PermissionQO extends TreeDataBaseQO {

	@QueryCondition(name = "name", ifTrueUseLike = "nameLike", type = QueryConditionType.LIKE_ANYWHERE)
	private String name;

	private Boolean nameLike = false;

	@QueryCondition(name = "operation")
	private String operation;

	@QueryCondition(name = "remove")
	private String remove;

	private Boolean returnTree;

}